﻿<%@ Page Title="确认缴费信息" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="LevelOrderConfirm.aspx.cs" Inherits="LevelOrderConfirm" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="Server">
    <link rel="stylesheet" href="../Scripts/popup/style.css" />
    <style type="text/css">
        .am-u-sm-9.am-form-label
        {
            text-align: left;
        }
    </style>
    <script src="../Scripts/popup/main.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="Server">
    <div class="am-cf am-padding">
        <div class="am-fl am-cf">
            <strong class="am-text-primary am-text-lg">报名步骤：1.选择考试&gt;&gt;2.确认基本信息 &gt;&gt; 3.选择考试级别&gt;&gt;4.确认报名信息&gt;&gt;
                <label style="color: Red">5.确认缴费信息</label>&gt;&gt; 6. 报名完成</strong>
        </div>
    </div>
    <hr />
    <div class="am-g">
        <div class="am-u-sm-12 am-u-md-7">
            <div class="am-form am-form-horizontal">
                <div class="am-form-group">
                    <label for="user-name" class="am-u-sm-3 am-form-label">订单号</label>
                    <div class="am-u-sm-9 am-form-label">
                        <asp:Literal ID="OrderIDText" runat="server"></asp:Literal>
                    </div>
                </div>
                <div class="am-form-group">
                    <label for="user-name" class="am-u-sm-3 am-form-label">学号</label>
                    <div class="am-u-sm-9 am-form-label">
                        <asp:Literal ID="SIDText" runat="server"></asp:Literal>
                    </div>
                </div>

                <div class="am-form-group">
                    <label for="user-name" class="am-u-sm-3 am-form-label">姓名</label>
                    <div class="am-u-sm-9 am-form-label">
                        <asp:Literal ID="NameText" runat="server"></asp:Literal>
                    </div>
                </div>
                <div class="am-form-group">
                    <label for="user-name" class="am-u-sm-3 am-form-label">性别</label>
                    <div class="am-u-sm-9 am-form-label">
                        <asp:Literal ID="SexText" runat="server"></asp:Literal>
                    </div>
                </div>
                <div class="am-form-group">
                    <label for="user-name" class="am-u-sm-3 am-form-label">身份证号</label>
                    <div class="am-u-sm-9 am-form-label">
                        <asp:Literal ID="SFZHText" runat="server"></asp:Literal>
                    </div>
                </div>
                <div class="am-form-group">
                    <label for="user-name" class="am-u-sm-3 am-form-label">年级</label>
                    <div class="am-u-sm-9 am-form-label">
                        <asp:Literal ID="lbYear" runat="server"></asp:Literal>
                    </div>
                </div>
                <div class="am-form-group">
                    <label for="user-name" class="am-u-sm-3 am-form-label">所在院系</label>
                    <div class="am-u-sm-9 am-form-label">
                        <asp:Literal ID="DepText" runat="server"></asp:Literal>
                    </div>
                </div>
                <div class="am-form-group">
                    <label for="user-name" class="am-u-sm-3 am-form-label">班级</label>
                    <div class="am-u-sm-9 am-form-label">
                        <asp:Literal ID="ClassText" runat="server"></asp:Literal>
                    </div>
                </div>

                <div class="am-form-group">
                    <label for="user-name" class="am-u-sm-3 am-form-label">电话号码</label>
                    <div class="am-u-sm-9 am-form-label">
                        <asp:Literal ID="TelPhoneText" runat="server"></asp:Literal>
                    </div>
                </div>



                <div class="am-form-group">
                    <label for="user-name" class="am-u-sm-3 am-form-label">考试名称</label>
                    <div class="am-u-sm-9 am-form-label">
                        <asp:Literal ID="ExamNameText" runat="server"></asp:Literal>
                    </div>
                </div>
                <div class="am-form-group">
                    <label for="user-name" class="am-u-sm-3 am-form-label">考试级别</label>
                    <div class="am-u-sm-9 am-form-label">
                        <asp:Literal ID="LevelName_Text" runat="server"></asp:Literal>
                    </div>
                </div>
                <div class="am-form-group">
                    <label for="user-name" class="am-u-sm-3 am-form-label">考试费用</label>
                    <div class="am-u-sm-9 am-form-label">
                        <asp:Literal ID="CostText" runat="server"></asp:Literal>
                    </div>
                </div>
                <%--<div class="am-form-group">
                    <div class="am-u-sm-9 am-u-sm-push-3">
                        <asp:Button ID="lbGoPay" runat="server" CssClass="am-btn am-btn-primary pay-cost" Text="缴费" OnClick="lbGoPay_Click" />
                    </div>
                </div>--%>
                <div class="am-form-group">
                    <div class="am-u-sm-9 am-u-sm-push-3">
                        <asp:LinkButton ID="lbGoPay" runat="server" CssClass="am-btn am-btn-primary pay-cost">去缴费</asp:LinkButton>
                        <asp:Button ID="SInfoDelete" runat="server" CssClass="am-btn am-btn-primary" Text="重新报名" OnClick="SInfoDelete_Click" Width="100px" style="margin-left:16px;" OnClientClick="return confirm('确认重新报名吗？如果您已经付款并扣费成功，请点击前面的去缴费按钮！');" />
                    </div>
                </div>

            </div>
        </div>
    </div>
    <script type="text/javascript">
        jQuery(document).ready(function ($) {
            //open popup
            $('.pay-cost').on('click', function (event) {
                $('.cd-popup').addClass('is-visible');
                event.preventDefault();
            });
            //close popup
            $('.cd-popup').on('click', function (event) {
                if ($(event.target).is('.cd-popup-close') || $(event.target).is('.cd-popup')) {
                    event.preventDefault();
                    $(this).removeClass('is-visible');
                }
            });
            "<%Exam.Update_OrderState(orderId, "5");%>";
            //close popup when clicking the esc keyboard button
            $(document).keyup(function (event) {
                if (event.which == '27') {
                    $('.cd-popup').removeClass('is-visible');
                }
            });
        });
    </script>

    <div class="cd-popup" role="alert">
        <div class="cd-popup-container">
            <p>如果您已经扣款成功，请点击“完成付款”，如果您的银行卡无法付款，请点击“付款出现问题”或者拨打95588（工商银行）或者请其它人帮忙付款。</p>
            <ul class="cd-buttons">
                <li>
                    <asp:HyperLink ID="hlPay" runat="server">完成付款</asp:HyperLink></li>
                <li><a href="<%=BSUtility.mainUrl+ "Users/PayHelp.aspx" %>">付款出现问题</a></li>
            </ul>
            <a href="#" class="cd-popup-close img-replace">关闭</a>
        </div>
        <!-- cd-popup-container -->
    </div>
    <!-- cd-popup -->
</asp:Content>

